<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{layout/layout}">
<head>
    <meta charset="UTF-8">
    <title>home</title>
</head>
<body>
<div layout:fragment="content">
   首页
</div>
<script layout:fragment="script" th:inline="javascript">
    var mixin = {
        data: function () {
            return {
                menuActive: '0',
                resList: [[${resList}]]
            }
        }
    }
</script>
</body>
</html>